<center><h2><?php echo $this->title;?></h2></center>
<table >
    <tr>
        <th>date</th>
        <th>username</th>
        <th>email</th>
        <th>active</th>
        <th>action<th>
        
     </tr>

<?php
foreach($this->users as $mod =>$user){


    echo "
    
      <tr ><td> $user->date</td>                <td> $user->username</td>   <td> $user->email</td> <td>$user->active</td>  <td> <a href=".$this->url(array( 'controller'=>'Users','action'=>'delete','id'=>$user->id)).">Delete</a>  </td></tr>

    ";





}
?>


</table>

 